<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <div id="app">
        <p v-for='item in arr'>{{item}}</p>
        <p v-for='(item,index) in newArr'>姓名:{{item.name}} 年龄:{{item.age}} 性别:{{item.sex}}</p>
    </div>
    <script src="../vue.js"></script>
    <script>
        var vm = new Vue({
            el: '#app',
            data: {
                arr: ['Tom', 'Jerry', 'Cat', 'Cow'],
                newArr: [{
                    name: 'Tom',
                    age: 18,
                    sex: 'man'
                }, {
                    name: 'Jerry',
                    age: 13,
                    sex: 'woman'
                }, {
                    name: 'Cat',
                    age: 8,
                    sex: 'man'
                }, {
                    name: 'Cow',
                    age: 30,
                    sex: 'man'
                }]
            },
            methods: {
                handle: function() {

                }
            }
        })
    </script>
</body>

</html>